package com.crm.security.mapper;



import com.crm.security.entity.SysUser;
import org.apache.ibatis.annotations.*;

@Mapper
public interface UserMapper {

    @Select("select * from sys_user where login_name=#{loginName} and disabled=0")
    SysUser getByLoginname(String loginName);


}